package com.prig.base.DTO.input;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@ApiModel(value = "角色",description = "请求参数")
public class RoleDto implements Serializable {
    @ApiModelProperty(value = "标识",example = "123123")
    private long id = 0;
    @NotBlank
    @ApiModelProperty(value = "角色名",required = true,example = "说是一个甩锅")
    private String roleName;
    @ApiModelProperty(value = "解释",example = "一个甩锅")
    private String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public RoleDto() {
    }

    public RoleDto(String roleName, String description) {
        this.roleName = roleName;
        this.description = description;
    }
}
